#include "junix.h"

void sig_handler(int signo)
{
	kill( getpid(),SIGSTOP);
}

int main(int argc, char **argv)
{
	if( signal(SIGALRM, sig_handler) == SIG_ERR)
		err_sys("signal");
	alarm(10);

	for(;;)	{
		printf("hello");
	}

    exit(0);
}

